﻿using System;
public class Program
{
    public static void Main()
    {
        int[] vs = new int[100];
        Random rnd = new Random();
        for (int i = 0; i < vs.Length; i++)
        {
            vs[i] = rnd.Next() % vs.Length;
        }
        var query = from i in vs
                    orderby i descending
                    select i;
        int[] vs1 = query.ToArray();
        for (int i = 0; i < vs.Length; i++)
        {
            Console.Write("{0} ", vs1[i]);
        }
    }
}